@ layout("/layout.html"){
<div class="container">


    <div class="border place-left padding20" style="width:48%">
        <a href="${user.blogUrl!}">
            <div class="span6 bg-dark padding20 margin20" style="height:200px">
                <div class="padding8 place-left" style="width:157px;height:157px">
                    <img src="${user.headImg!}" class="cycle">
                </div>
                <div class="padding10 place-right text-center" style="width:230px;height:157px">
                    <h2 class="fg-white text-bold">${user.username!}</h2>

                    <div class="padding20 bg-cyan text-center" style="width:210px;height:60px;margin-top:40px">
                        <span class="icon-calendar large fg-white"></span><span class="fg-white text-bold"
                                                                                style="margin-left:20px">${user.registDate!}</span>
                    </div>
                </div>
            </div>
        </a>

        <div class="notice marker-on-top bg-cyan margin20">${user.feeling!}</div>
    </div>


</div>


<form action="${base}/user/update" method="post">
    <input type="hidden" name="user.id" value="${user.id!}">

    <div class="border place-right padding20" style="width:48%">
        <p>

        <h2 class="margin20">Name</h2></p>
        <p>

        <div class="input-control text margin20" style="width:300px;">
            <input type="text" name="user.username" value="${user.username!}"
                   placeholder="${usernameMsg!'Your name'}"/>
            <button class="btn-clear"></button>
        </div>
        </p>

        <p>

        <h2 class="margin20">Description</h2></p>
        <p>

        <div class="input-control textarea margin20" style="width:300px;">
            <textarea name="user.feeling" placeholder="${feelingMsg!'Your description'}"
                      style="resize: none"></textarea>
        </div>
        </p>

        <h2 class="margin20">My href</h2></p>
        <p>

        <div class="input-control text margin20" style="width:300px;">
            <input type="text" name="user.blogUrl" value="${user.blogUrl!}"
                   placeholder="${blogUrlMsg!'Your URL'}"/>
            <button class="btn-clear"></button>
        </div>
        </p>

        <p>
            <button class="button large info" style="margin-left:25%">Edit</button>
        </p>

    </div>

</form>

</div>

@}